<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'condition.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg">
		<tr id="search" style="display: none;">
		<td colspan="8" style="height: 35px; background-color: #DBDBDB;margin-left:20px">
		</td>
		<td colspan="3" style="height: 35px; background-color: #DBDBDB;">
		</td>
		</tr>
		<tr>
		<td width="3%" class="mian_b_bg_lm">
		<input name="" type="checkbox" value="">&nbsp;
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>序号
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>账户户号
		</td>
		<td width="5%" class="mian_b_bg_lm">
		<span></span>姓名
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>详细地址
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>电话
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>身份证号
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>账户余额
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>状态
		</td>
		<td colspan="2" class="mian_b_bg_lm">
		<span></span>操作
		</td>
		</tr>
		<%
			
			List<allSelModel> result=np.getResPage();
			if(result!=null){		    
				for(int i=0;i<result.size();i++){
				 allSelModel results=result.get(i); 
				 String Jurisdiction=null;
				 if(results.getStatement()==0){
					Jurisdiction="启用";
					}else{
					Jurisdiction="冻结";
					} 
		%>
		<tr>
		<td>
		<input name="" type="checkbox" value="">&nbsp;
		</td>
		<td>
		<%=i%>
		</td>
		<td>
		<%=results.getUser_num()%> 
		</td>
		<td>
		<%=results.getName()%> 
		</td>
		<td>
	    <%=results.getAddress()%>
		</td>
		<td>
	    <%=results.getTelephone()%>
		</td>
		<td>
		<%=results.getId_card()%>
		</td>
		<td>
		<%=results.getBalance() %>
		</td>
		<td>
		 <%=Jurisdiction %>
		</td>
		<td width="5%" class="mian_b_icon_01">
		<a  onclick="openacc(<%=results.getUser_num()%>)" style=" cursor:pointer; text-align:center; ">启用</a>
		</td>
		<!-- <td width="5%" class="mian_b_icon_02">
		<a href="EmployeeDetail.html">查看</a>
		</td> -->
		</tr>
		<% 
		}
		}
		%>
		<tr>
		<td width="3%" class="mian_b_bg_lm">&nbsp;
		
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>工号
		</td>
		<td width="5%" class="mian_b_bg_lm">
		<span></span>员工名称
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>性别
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>员工职位
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>手机
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>所属部门
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>入职时间
		</td>
		<td width="10%" class="mian_b_bg_lm">
		<span></span>状态
		</td>
		<td colspan="2" class="mian_b_bg_lm">
		<span></span>操作
		</td>
		</tr>
		</table>
  <body>
    This is my JSP page. <br>
  </body>
</html>
